package com.bnzj.core.rest;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author barry
 *
 */
@Schema(description = "标准返回结果", title = "IResultTitle", name = "IResultName")
public interface IResult<T> extends java.io.Serializable{

    @Schema(description = "返回结果的状态码")
	int getCode();

    @Schema(description = "返回的消息")
	String getMsg();

    @Schema(description = "返回的数据")
    T getData();
    
}
